package com.zhouliang.login.model;


import com.baomidou.mybatisplus.annotation.*;
import lombok.Builder;
import lombok.Data;

import java.util.Date;

@Data
@Builder
@TableName("douyin_user")
public class User {
    // 主键自增字段
    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;
    private String password;
    private Long followCount;
    private Long followerCount;
    @TableField(fill = FieldFill.INSERT)
    private Date createAt;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateAt;
}
